import request from "@/utils/request";


/**
 * 新增
 * */
export const addDocterApi = (params: any) => {
    return request.post('/system/user/add', params)
}

/**
 * 编辑
 * */
export const editDocterApi = (params: any) => {
    return request.post('/system/user/register', params)
}

//删除
export const deleteDocterApi = (params: any) => {
    return request.post('/system/user/delete',  {params:params} )
} 

//列表
export const getDoctorListApi = (params: any) => {
    return request.get('/system/user/msg/display',{params:params})
}